package com.hejjon.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author: cs
 * @date: 2024-12-19 23:02:59
 * @since: 1.0
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_menu")
@ApiModel(value="SysMenu对象", description="系统菜单对象")
public class SysMenu {

    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("text")
    private String text;

    @TableField("parent_id")
    private String parentId;

    @TableField("top_menu_id")
    private String topMenuId;

    @TableField("order_num")
    private Integer orderNum;

    @TableField("location")
    private String location;

    @TableField("type")
    private String type;

    @TableField("path")
    private String path;

    @TableField("description")
    private String description;

    @TableField("default_active")
    private String defaultActive;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("update_by")
    private String updateBy;


    @TableField("delete_flag")
    private String deleteFlag;

}
